From 70c1fbfecd02f22828f66a6a41072d2856346b7c Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 15 Jun 2007 09:18:42 +0100 Subject: [PATCH] Update Solaris balloon ioctl value The balloon ioctl value should use a 32-bit value instead of a 16-bit value to distinguish itself from other ioctls. Signed-off-by: Ryan Scott --- tools/python/xen/xend/osdep.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py index b3abbf782b..3dc343385e 100644 --- a/tools/python/xen/xend/osdep.py +++ b/tools/python/xen/xend/osdep.py @@ -65,11 +65,11 @@ def _solaris_balloon_stat(label): import fcntl import array DEV_XEN_BALLOON = '/dev/xen/balloon' - BLN_IOCTL_CURRENT = 0x4201 - BLN_IOCTL_TARGET = 0x4202 - BLN_IOCTL_LOW = 0x4203 - BLN_IOCTL_HIGH = 0x4204 - BLN_IOCTL_LIMIT = 0x4205 + BLN_IOCTL_CURRENT = 0x42410001 + BLN_IOCTL_TARGET = 0x42410002 + BLN_IOCTL_LOW = 0x42410003 + BLN_IOCTL_HIGH = 0x42410004 + BLN_IOCTL_LIMIT = 0x42410005 label_to_ioctl = { 'Current allocation' : BLN_IOCTL_CURRENT, 'Requested target' : BLN_IOCTL_TARGET, 'Low-mem balloon' : BLN_IOCTL_LOW, -- 2.30.2